package com.zzz.friend.domain.exam.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

import java.time.LocalDateTime;

/**
 * @BelongsProject: oj-project
 * @BelongsPackage: com.zzz.friend.controller.exam.dto.vo
 * @Author: zhai
 * @CreateTime: 2025-11-01  13:27
 * @Description: TODO
 * @Version: 1.0
 */
public class ExamVO {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long examId;

    private String title;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;

    private boolean enter = false; //true: 已经报名  false 未报名
}
